package com.ruoyi.common.core.domain.e_train;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训人员对象 e_train_record
 * 
 * @author JYW
 * @date 2024-01-30
 */
public class ETrainRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 发布者id */
    @Excel(name = "发布者id")
    private Long uId;

    /** 培训id */
    @Excel(name = "培训id")
    private Long tId;

    /** 培训分数 */
    @Excel(name = "培训分数")
    private String grade;

    /** 报道情况（0：未报到，1：已报道） */
    @Excel(name = "报道情况", readConverterExp = "0=：未报到，1：已报道")
    private String report;

    /** 申请培训情况（0：审核中，1：通过，2：拒绝） */
    @Excel(name = "申请培训情况", readConverterExp = "0=：审核中，1：通过，2：拒绝")
    private String applyStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setuId(Long uId) 
    {
        this.uId = uId;
    }

    public Long getuId() 
    {
        return uId;
    }
    public void settId(Long tId) 
    {
        this.tId = tId;
    }

    public Long gettId() 
    {
        return tId;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setReport(String report) 
    {
        this.report = report;
    }

    public String getReport() 
    {
        return report;
    }
    public void setApplyStatus(String applyStatus) 
    {
        this.applyStatus = applyStatus;
    }

    public String getApplyStatus() 
    {
        return applyStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uId", getuId())
            .append("tId", gettId())
            .append("grade", getGrade())
            .append("report", getReport())
            .append("applyStatus", getApplyStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
